﻿@model WebApp.Models.AlarmLog
@{  
  ViewData["Title"] = "告警处理";
  ViewData["PageName"] = "AlarmLog";
  ViewData["Heading"] = "<i class='fal fa-window text-primary'></i>  告警处理";
  ViewData["Category1"] = "告警管理";
  ViewData["PageDescription"] = "";
}
  <div id="panel-1" class="panel">
    <div class="panel-hdr">
      <h2>
        告警处理 <span class="fw-300"><i>内容</i></span>
      </h2>
      <div class="panel-toolbar">
        <button class="btn btn-panel waves-effect waves-themed" data-action="panel-collapse" data-toggle="tooltip" data-offset="0,10" data-original-title="Collapse"></button>
        <button class="btn btn-panel waves-effect waves-themed" data-action="panel-fullscreen" data-toggle="tooltip" data-offset="0,10" data-original-title="Fullscreen"></button>
      </div>
    </div>
    <div class="panel-container show">
      <div class="panel-content p-0">
        <form action="/AlarmLogs/Edit" method="post" class="needs-validation" novalidate="">
          <div class="panel-content">
           @Html.ValidationSummary(true)
           @Html.AntiForgeryToken()
            @Html.Partial("DisplayForm.cs")
          </div>
          <div class="panel-content border-faded border-left-0 border-right-0 border-bottom-0 d-flex flex-row align-items-center">
               <button class="btn btn-primary ml-auto waves-effect waves-themed" type="submit">保存</button>
          </div>
        </form>
        <script>
          // Example starter JavaScript for disabling form submissions if there are invalid fields
          (function () {
            'use strict';
            window.addEventListener('load', function () {
              // Fetch all the forms we want to apply custom Bootstrap validation styles to
              var forms = document.getElementsByClassName('needs-validation');
              // Loop over them and prevent submission
              var validation = Array.prototype.filter.call(forms, function (form) {
                form.addEventListener('submit', function (event) {
                  if (form.checkValidity() === false) {
                    event.preventDefault();
                    event.stopPropagation();
                  }
                  form.classList.add('was-validated');
                }, false);
              });
            }, false);
          })();

        </script>
      </div>
    </div>
  </div>

@section ScriptsBlock {
  <script type="text/javascript">
	     
  </script>

}
